package com.eastfair.home.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eastfair.boot.request.PageParams;
import com.eastfair.core.base.R;
import com.eastfair.venueservice.dto.ServiceCategoryDTO;
import com.eastfair.venueservice.dto.ServiceCategoryPageQuery;
import com.eastfair.venueservice.vo.ServiceCategoryVO;

import java.util.List;

/**
 * @Author lyw
 * @Date 2022/8/8 11:59
 */

public interface CategoryService {

    Page<ServiceCategoryVO> queryCategoryList(PageParams<ServiceCategoryPageQuery> params);

    Boolean saveCategoryInfo(ServiceCategoryDTO serviceCategoryDTO);

    Boolean updateCategoryById(ServiceCategoryDTO serviceCategoryDTO);

    Boolean delCategoryById(Long id);

    List<ServiceCategoryVO> getCategoryListByExhibitionManageId(Integer categoryType,Long exhibitionManageId);


}
